<div class="page_container" style="display:none">
  <div class="header-container">
  </div>
  <%var list = liveList || [];%>
  <div class="header-search">
    <div class="search_box">
      <img src="../../../../images/searchLogo.png" alt="">
      <form action="javascript:window.searchNew();">
        <input type="search" name="" placeholder="请输入搜索词" id="search">
      </form>
    </div>
    <div class="dy1">
      <img src="../../../../images/dy1.png" alt="">
    </div>
  </div>
  <div class="page">
    <div class="line"></div>
    <!-- 顶部图文切换 -->
    <div class="submain  submain_container swiper-container ">
      <div class="swiper-wrapper">
        <% for (var i = 0;i < list.length;i++) {
    var item = list[i];%>
        <div class="col swiper-slide  listcol" data-id = '<%=item.id%>' data-status = '<%=item.status%>'>
          <div class="block">
            <img class="pic" src="<%=item.MobilePlayRoundImage%>" alt="pic" />
            <span class="txt">
              <%= item.label %>
            </span>
          </div>
          <div class="group">
            <span class="desc">
              <%= item.title %>
            </span>
            <% if(item.status == 'living'){ %>
            <div class="wrap">
              <span class="text">
              </span>
              <span class="txt_1">
                直播中
              </span>
            </div>
            <% }else if(item.status == 'waiting'){ %>
            <div class="wrap">
              <span class="text text2">
              </span>
              <span class="txt_1 txt_12">
                待播
              </span>
            </div>
            <% } %>

          </div>
        </div>
        <% } %>
      </div>
    </div>

    <div class="line"></div>
    <!-- 长条广告 -->
    <img class="longBg" src="<%=ADURL%>" alt="longBg" />

    <div class="line"></div>
    <!-- 轮播图 -->
    <div class="banner_container swiper-container ">
      <div class="swiper-wrapper">
        <% for (var i = 0;i < liveList2.length;i++) {
          var item = liveList2[i];%>
        <div class="col swiper-slide">
          <div class="block list2_block" data-url="<%=item.RedirectURL%>">
            <div class="title"><%=item.describe %></div>
            <img class="pic" src="<%=item.MobileImage %>" alt="pic" />
          </div>
        </div>
        <% } %>
      </div>
    </div>
    <div class="line"></div>
    <!-- 往期精彩 -->
    <div class="news_title">
      <img class="icon_2"
        src="../../../../images/more.png"
        alt="icon_2" />
      <span class="txt_2">
        往期精彩
      </span>
    </div>
    <div class="news_tag">
      <div class="tag_group">
        <span class="tag active  tagLive" data-name="all">
          全部
        </span>
        <% for (var i = 0;i < hpList.length;i++) {
          var item = hpList[i];%>
        <span class="tag tagLive" data-name="<%=item.RoleName%>">
          <%=item.RoleName%>
        </span>
        <% } %>
      </div>
    </div>

    <div class="news_container">
    </div>


  </div>
</div>

<script>
     function search() {
         console.log("hahah")
        var s = document.getElementById('search').value;
        if (s === '') {
            return;
        }
        document.getElementById('search').blur();
        console.log('搜索' + document.getElementById('search').value)
        alert('搜索' + document.getElementById('search').value)
    }
</script>